package org.daemon.believe.mythink.controller;

import org.daemon.believe.mythink.model.UserInfo;
import org.daemon.believe.mythink.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserInfoController {

	@Autowired
	private UserInfoService userInfoService;
	
	@RequestMapping("/getlist")
	public String getListUser(UserInfo userinfo,int pageSize,int currentPage){
		//
		
		return "";
	}
	
	@RequestMapping("/adduser")
	public String addUser(UserInfo userinfo){
		int res = userInfoService.addUserInfo(userinfo);
		if(res>0){
			
		}
		
		return "";
	}
}
